import { TypographyProps as AntdTypographyProps, Typography } from 'antd';

interface TypographyProps extends AntdTypographyProps {
  children: React.ReactNode;
  className?: string;
}

export const AntdTypography = ({ children, className, ...props }: TypographyProps) => {
  return (
    <div>
      <Typography className={`eai-design-typography ${className}`} {...props}>
        {children}
      </Typography>
    </div>
  );
};

// 导出 Text 组件
export const Text = Typography.Text;
export const Title = Typography.Title;
export const Paragraph = Typography.Paragraph;
export const Link = Typography.Link; 